<!doctype html>
<html>
    <head>
	<link rel="icon" type="image/ico" href="<?=base_url();?>/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width" />
    <title><?=isset($title)? $title: 'School System';?></title>
	<link rel="stylesheet" href="<?=style_url('foundation.min');?>">
	<link rel="stylesheet" href="<?=style_url('bootstrap.min');?>">
	<link rel="stylesheet" href="<?=style_url('baselogin');?>">
	<link rel="stylesheet" href="<?=style_url('glyphicons');?>">
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
   
   <script type="text/javascript" src="<?php echo script_url('vendor/custom.modernizr');?>"></script>
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
	<script>window.jQuery || document.write('<script src="<?php echo script_url('vendor/jquery'); ?>"><\/script>')</script>
    </head>
	
    <body>
		<div class="wrapper">
			<noscript>
				<div class="alert alert-warning">Javascript has been disabled on your browser.some Functions may not work</div>
			</noscript>
			<!--Main COntent-->
			<?php echo $yield;?>
		</div>
		<div id="msgDialog"><p></p><div class="content"></div></div>
		<!-- End contents -->
		<script>
		  document.write('<script src=' +
		  ('__proto__' in {} ? '<?=script_url("vendor/zepto");?>' : '<?=script_url("vendor/jquery");?>') +
		  '><\/script>')
		</script>
		<script type="text/javascript" src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
		<script type="text/javascript" src="<?php echo script_url('foundation.min');?>"></script>
		<script type="text/javascript" src="<?php echo script_url('custom/myjs'); ?>"></script>
		<script src="<?=script_url('foundation/foundation');?>"></script>
		<script src="<?=script_url('foundation/foundation.abide');?>"></script>
		<script src="<?=script_url('foundation/foundation.dropdown');?>"></script>
		<script src="<?=script_url('foundation/foundation.forms');?>"></script>
		<script src="<?=script_url('foundation/foundation.tooltips');?>"></script>
		<script>
		  $(document).foundation();
		</script>
		<script type="text/javascript" src="<?php echo script_url('vendor/bootstrap.min'); ?>"></script>
	</body>
</html>